<?php 
	require_once("libs/constants.php");
	$theme = "x52";
?>
<?php include("global-includes/header.php"); ?>
<div class="container contentHolder">
	<?php
		switch ($page["page_slug"]) {
			
			case 'popular_products':
				$productType = 5;
				include("html-includes/list/content.php"); 
				break;
			
			case 'new_products':
				$productType = 1;
				include("html-includes/list/content.php"); 
				break;
			
			case 'promotions':
				$productType = 4;
				include("html-includes/list/content.php"); 
				break;
			
			case 'wishlist':
				include("html-includes/wishlist/content.php"); 
				break;
				
			case 'sitemap':
				include("html-includes/sitemap/content.php"); 
				break;
			
			case 'login':
				include("html-includes/login/content.php"); 
				break;
			
			case 'contact':
				include("html-includes/contact/content.php"); 
				break;
				
			case 'faq':
				include("html-includes/faq/content.php"); 
				break;
				
			case 'cart':
				include("html-includes/cart/content.php"); 
				break;
			
			case 'search':
				include("html-includes/search/content.php"); 
				break;
			case 'account':
				include("html-includes/account/content.php"); 
				break;
			case 'checkout':
				include("html-includes/checkout/content.php"); 
				break;
			
			case 'profile':
				include("html-includes/profile/content.php"); 
				break;
			
			default:
				include("html-includes/page/content.php"); 
				break;
		}
		
	?>
</div>
<?php include("global-includes/footer.php"); ?>

<?php destroyConnection(); ?>